package com.aefan.springcloud.alibaba.service;

import com.aefan.springcloud.entities.CommonResult;
import com.aefan.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

/**
 * @Author: jxl
 * @Date: 2021/9/21 上午11:07
 */
@Component
public class PaymentFallbackServiceImpl implements PaymentService {
    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<>(444,"服务降级返回，-----PaymentFallbackServiceImpl",new Payment(id,"erorSerial"));
    }
}
